//
//  baseCollectionViewController.m
//  mintHome
//
//  Created by 朱彦名 on 16/6/28.
//  Copyright © 2016年 朱彦名. All rights reserved.
//

#import "baseCollectionViewController.h"

@interface baseCollectionViewController ()

@end

@implementation baseCollectionViewController



- (void)viewDidLoad {
    [super viewDidLoad];
    
    if ([[AccountManager sharedInstance] isNight]) {
        [self setNightDay];
        
    }else{
        
        [self setLightDay];
        
    }
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(setLightDay) name:@"day" object:nil];
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(setNightDay) name:@"night" object:nil];
    
    
}

- (void)setLightDay {
    NSLog(@"设置白天模式成功");
}

- (void)setNightDay {
    NSLog(@"设置夜晚模式成功");
}

@end
